/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "外观检验",TableName = "table_wgjy",DBServer = "WgjyDbContext")]
    public partial class table_wgjy:WgjyEntity
    {
        /// <summary>
       ///工单号
       /// </summary>
       [Display(Name ="工单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string order_name { get; set; }

       /// <summary>
       ///产品代码
       /// </summary>
       [Display(Name ="产品代码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string pro_code { get; set; }

       /// <summary>
       ///批次号
       /// </summary>
       [Display(Name ="批次号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string lot { get; set; }

       /// <summary>
       ///检包工段
       /// </summary>
       [Display(Name ="检包工段")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string pro_gen { get; set; }

       /// <summary>
       ///回收档位
       /// </summary>
       [Display(Name ="回收档位")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string re_lot { get; set; }

       /// <summary>
       ///生成时间
       /// </summary>
       [Display(Name ="生成时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string data_time { get; set; }

       /// <summary>
       ///规格尺寸
       /// </summary>
       [Display(Name ="规格尺寸")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string guige_cc { get; set; }

       /// <summary>
       ///单重
       /// </summary>
       [Display(Name ="单重")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string per_weight { get; set; }

       /// <summary>
       ///性能
       /// </summary>
       [Display(Name ="性能")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string gred { get; set; }

       /// <summary>
       ///应回数
       /// </summary>
       [Display(Name ="应回数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string y_h_qty { get; set; }

       /// <summary>
       ///返回数
       /// </summary>
       [Display(Name ="返回数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string fh_qty { get; set; }

       /// <summary>
       ///合格数
       /// </summary>
       [Display(Name ="合格数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ok_qty { get; set; }

       /// <summary>
       ///流失片数
       /// </summary>
       [Display(Name ="流失片数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string lost_qty { get; set; }

       /// <summary>
       ///亮点
       /// </summary>
       [Display(Name ="亮点")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string light_point { get; set; }

       /// <summary>
       ///裂纹
       /// </summary>
       [Display(Name ="裂纹")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string lie_W { get; set; }

       /// <summary>
       ///砂眼
       /// </summary>
       [Display(Name ="砂眼")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string sha_yan { get; set; }

       /// <summary>
       ///硅油
       /// </summary>
       [Display(Name ="硅油")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string gui_you { get; set; }

       /// <summary>
       ///磁通不良
       /// </summary>
       [Display(Name ="磁通不良")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ct_no { get; set; }

       /// <summary>
       ///氧化
       /// </summary>
       [Display(Name ="氧化")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string yang_hua { get; set; }

       /// <summary>
       ///刀痕
       /// </summary>
       [Display(Name ="刀痕")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string dao_heng { get; set; }

       /// <summary>
       ///垂直超差度
       /// </summary>
       [Display(Name ="垂直超差度")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string chuzhi { get; set; }

       /// <summary>
       ///总尺寸超差
       /// </summary>
       [Display(Name ="总尺寸超差")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string all_chicun { get; set; }

       /// <summary>
       ///崩边
       /// </summary>
       [Display(Name ="崩边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string beng_side { get; set; }

       /// <summary>
       ///倒C角残
       /// </summary>
       [Display(Name ="倒C角残")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string dao_C { get; set; }

       /// <summary>
       ///黑边磕边
       /// </summary>
       [Display(Name ="黑边磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string black_side { get; set; }

       /// <summary>
       ///检包调机品
       /// </summary>
       [Display(Name ="检包调机品")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string jb_tjp { get; set; }

       /// <summary>
       ///检包落地片数
       /// </summary>
       [Display(Name ="检包落地片数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string jb_lost { get; set; }

       /// <summary>
       ///总磕边
       /// </summary>
       [Display(Name ="总磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string all_keb { get; set; }

       /// <summary>
       ///总麻坑
       /// </summary>
       [Display(Name ="总麻坑")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string all_mk { get; set; }

       /// <summary>
       ///送测样品
       /// </summary>
       [Display(Name ="送测样品")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string song_ce { get; set; }

       /// <summary>
       ///气泡
       /// </summary>
       [Display(Name ="气泡")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string qipao { get; set; }

       /// <summary>
       ///镀层色差
       /// </summary>
       [Display(Name ="镀层色差")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ducengsec { get; set; }

       /// <summary>
       ///结合力不良
       /// </summary>
       [Display(Name ="结合力不良")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string jieheli_no { get; set; }

       /// <summary>
       ///镀残
       /// </summary>
       [Display(Name ="镀残")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ducan { get; set; }

       /// <summary>
       ///凹坑
       /// </summary>
       [Display(Name ="凹坑")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string aokeng { get; set; }

       /// <summary>
       ///喷涂集漆
       /// </summary>
       [Display(Name ="喷涂集漆")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string pengt_jq { get; set; }

       /// <summary>
       ///喷涂粘网
       /// </summary>
       [Display(Name ="喷涂粘网")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string pengT_zw { get; set; }

       /// <summary>
       ///R角磕边
       /// </summary>
       [Display(Name ="R角磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string r_kb { get; set; }

       /// <summary>
       ///前处理磕边
       /// </summary>
       [Display(Name ="前处理磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string qian_kb { get; set; }

       /// <summary>
       ///喷涂异物
       /// </summary>
       [Display(Name ="喷涂异物")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string pentu_yw { get; set; }

       /// <summary>
       ///后处理磕边
       /// </summary>
       [Display(Name ="后处理磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string hou_kb { get; set; }

       /// <summary>
       ///可返实验
       /// </summary>
       [Display(Name ="可返实验")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_ex { get; set; }

       /// <summary>
       ///可返镀层色差
       /// </summary>
       [Display(Name ="可返镀层色差")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_ducse { get; set; }

       /// <summary>
       ///可返镀厚划痕
       /// </summary>
       [Display(Name ="可返镀厚划痕")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_duchh { get; set; }

       /// <summary>
       ///可返气泡
       /// </summary>
       [Display(Name ="可返气泡")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_qipao { get; set; }

       /// <summary>
       ///可返超差
       /// </summary>
       [Display(Name ="可返超差")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_cc { get; set; }

       /// <summary>
       ///可返磕边
       /// </summary>
       [Display(Name ="可返磕边")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_kb { get; set; }

       /// <summary>
       ///可返凹坑
       /// </summary>
       [Display(Name ="可返凹坑")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_ak { get; set; }

       /// <summary>
       ///可返集漆
       /// </summary>
       [Display(Name ="可返集漆")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_jq { get; set; }

       /// <summary>
       ///可返异物
       /// </summary>
       [Display(Name ="可返异物")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_yw { get; set; }

       /// <summary>
       ///可返粘网
       /// </summary>
       [Display(Name ="可返粘网")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_zw { get; set; }

       /// <summary>
       ///可返电镀掉漆
       /// </summary>
       [Display(Name ="可返电镀掉漆")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_dd { get; set; }

       /// <summary>
       ///残总和
       /// </summary>
       [Display(Name ="残总和")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string c_total { get; set; }

       /// <summary>
       ///可返总和
       /// </summary>
       [Display(Name ="可返总和")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string kf_total { get; set; }

       /// <summary>
       ///检分厂备注
       /// </summary>
       [Display(Name ="检分厂备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string backup { get; set; }

       /// <summary>
       ///班组
       /// </summary>
       [Display(Name ="班组")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string banzu { get; set; }

       /// <summary>
       ///品管备注
       /// </summary>
       [Display(Name ="品管备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string backup_2 { get; set; }

       /// <summary>
       ///误判率
       /// </summary>
       [Display(Name ="误判率")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string wupan { get; set; }

       /// <summary>
       ///漏检率
       /// </summary>
       [Display(Name ="漏检率")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string lou_jv { get; set; }

       /// <summary>
       ///OQC
       /// </summary>
       [Display(Name ="OQC")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string oqc { get; set; }

       /// <summary>
       ///品管输入时间
       /// </summary>
       [Display(Name ="品管输入时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string data_time_2 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
       [Key]
       [Display(Name ="id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///检验员
       /// </summary>
       [Display(Name ="检验员")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string jianyan_part { get; set; }

       /// <summary>
       ///上传时间
       /// </summary>
       [Display(Name ="上传时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string isupdata_time { get; set; }

       /// <summary>
       ///上传MES时间
       /// </summary>
       [Display(Name ="上传MES时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
        [Editable(true)]
        public string isupmes_time { get; set; }

       /// <summary>
       ///电镀合格数
       /// </summary>
       [Display(Name ="电镀合格数")]
       [Column(TypeName="nvarchar(max)")]
       public string diandu_ok_qty { get; set; }

       
    }
}